package com.qidian.service.impl;

import com.qidian.common.Result;
import com.qidian.mapper.StudentMapper;
import com.qidian.pojo.Student;
import com.qidian.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.annotation.Resources;

/**
 * @description: service实现类 -- 逻辑处理
 * @author: liudz
 * @create: 2022-06-20 15:41
 **/
@Service
public class StudentServiceImpl implements StudentService {

    @Resource
    private StudentMapper studentMapper;
    /**
     * 注册接口
     *
     * @param student
     * @return
     */
    @Override
    public Result registered(Student student) {
        return null;
    }

    /**
     * 登录接口
     *
     * @param student
     * @return
     */
    @Override
    public Result login(Student student) {
        return null;
    }

    /**
     * 注销
     *
     * @param id
     * @return
     */
    @Override
    public Result cancellation(Integer id) {
        return null;
    }

    /**
     * 修改学生信息
     *
     * @param student
     * @return
     */
    @Override
    public Result updateById(Student student) {
        return null;
    }

}
